Visual Basic (Declaration) | |
---|---|
Public Overloads Function ReceiveFrom( _ ByVal buffer() As Byte, _ ByRef remoteEP As EndPoint _ ) As Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UdpSocket Dim buffer() As Byte Dim remoteEP As EndPoint Dim value As Integer value = instance.ReceiveFrom(buffer, remoteEP) |
C++/CLI | |
---|---|
public: int ReceiveFrom( array<byte>^ buffer, EndPoint^% remoteEP ) |
Parameters
- buffer
- Byte[] to which data will be copied.
- remoteEP
- The IPEndPoint representing the origin of the datagram.
Target Platforms: Microsoft .NET Framework 2.0